package com.ying.tests.AAAmode.template.service;

import com.ying.common.entity.Response;

public abstract class TemplateService {

    protected abstract void template1();

    protected abstract void template2();

    protected abstract void template3();

    public final Response run() {
        this.template1();
        this.template2();
        this.template3();
        return new Response().success("执行成功");
    }
}
